﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZK.Models
{
    public class HardWareM
    {
        public int id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [DisplayName("名称")]
        public string wareName { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [DisplayName("备注")]
        public string remark { get; set; }
        /// <summary>
        /// IP/串口
        /// </summary>
        [DisplayName("IP/串口")]
        public int iporserial { get; set; }
        /// <summary>
        /// 端口号
        /// </summary>
        [DisplayName("端口号")]
        public int? portnum { get; set; }
        /// <summary>
        /// 串口名称
        /// </summary>
        [DisplayName("串口名称")]
        public string serialname { get; set; }
        /// <summary>
        /// IP
        /// </summary>
        [DisplayName("IP")]
        public string ip { get; set; }
        /// <summary>
        /// 启用
        /// </summary>
        [DisplayName("启用")]
        public int isEnable { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        [DisplayName("状态")]
        public int? wareState { get; set; }
        /// <summary>
        /// 厂家
        /// </summary>
        [DisplayName("厂家")]
        public string manufactor { get; set; }
        /// <summary>
        /// 出厂时间
        /// </summary>
        [DisplayName("出厂时间")]
        public string manufaturetime { get; set; }
        /// <summary>
        /// 使用时间
        /// </summary>
        [DisplayName("使用时间")]
        public string usestime { get; set; }
    }
}
